package cate.common.table.activity.destinygate.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class DestinyGateGiftRow extends ERow {
    @NoteField("原型ID")
    public int heroId;
    @NoteField("礼包奖励")
    public String gift;
    @NoteField("默认购买次数")
    public int limit;
    @NoteField("额外购买次数")
    public int extraTimes;
    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID",0);
        this.heroId = xrw.getInteger("原型ID",0);
        this.gift = xrw.getString("礼包奖励");
        this.limit = xrw.getInteger("默认购买次数",0);
        this.extraTimes = xrw.getInteger("额外购买次数",0);
    }
}
